<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<html>
<head>
    <meta charset="UTF-8">
    <title>搜索</title>
    <link rel="stylesheet" href="${ctx}/static/styles/advsearch.css" type="text/css">
</head>
<body>
<div class="main">
    <div class="container">
        <h1>高级搜索</h1>
        <h3>针对特定字段输入关键词，进行高级搜索<a href="${ctx}/index/search">返回简单搜索</a></h3>
        <form class="form-horizontal search-area" role="form" action="${ctx}/doc/advancedSearch" method="get">
            <div class="form-group">
                <label for="title" class="col-sm-2 control-label">标题</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control" id="title" name="title" placeholder="输入标题">
                </div>
            </div>
            <div class="form-group">
                <label for="summary" class="col-sm-2 control-label">摘要</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control" name="summary" id="summary" placeholder="输入摘要">
                </div>
            </div>
            <div class="form-group">
                <label for="content" class="col-sm-2 control-label">正文</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control" name="content" id="content" placeholder="输入正文">
                </div>
            </div>
            <div class="form-group">
                <label for="authors" class="col-sm-2 control-label">作者</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control" name="authors" id="authors" placeholder="输入作者">
                </div>
            </div>
            <div class="form-group">
                <label for="keywords" class="col-sm-2 control-label">关键词</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control" name="keywords" id="keywords" placeholder="输入关键词">
                </div>
            </div>
            <div class="form-group">
                <label for="startCreateDate" class="col-sm-2 control-label">文档创建开始日期</label>
                <div class="col-sm-4">
                    <input type="date" class="form-control input_time" name="startCreateDate" id="startCreateDate"
                           placeholder="输入文档上传开始时间">
                </div>
                <label for="endCreateDate" class="col-sm-2 control-label">文档创建结束日期</label>
                <div class="col-sm-4">
                    <input type="date" class="form-control input_time" name="endCreateDate" id="endCreateDate"
                           placeholder="输入文档上传结束时间">
                </div>
            </div>
            <div class="form-group">
                <label for="startDocTime" class="col-sm-2 control-label">文档创建开始日期</label>
                <div class="col-sm-4">
                    <input type="date" class="form-control input_time" name="startDocTime" id="startDocTime"
                           placeholder="输入文档创建开始时间">
                </div>
                <label for="endDocTime" class="col-sm-2 control-label">文档创建结束日期</label>
                <div class="col-sm-4">
                    <input type="date" class="form-control input_time" name="endDocTime" id="endDocTime"
                           placeholder="输入文档创建结束时间">
                </div>
            </div>
            <div class="form-group">
                <label for="tags" class="col-sm-2 control-label">标签</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control" name="tags" id="tags" placeholder="输入关键词">
                </div>
            </div>
            <div class="form-group">
                <div class="btn-area">
                    <input type="submit" class="btn search-btn" value="搜索">
                </div>
            </div>
        </form>
    </div>
</div>
</body>
</html>